// 导航栏
var header = Vue.component('simple-header', {
    template: readComponentHTML("header"),
    data() {
        return {
            // option的value 对应 key的值
            key: {},
            options: [],
            optionsCopy: [],
            value: '',
            separator: '',
            activeIndex: null,
            searchTimeout: null,
            isSearch: false,
            repeatCheck: null
        }
    },
    mounted() {
        this.activeIndex = this.$route.path;
        if (!this.activeIndex || this.activeIndex === '' || this.activeIndex === '/') {
            this.activeIndex = '/buildConfig';
        }
    },
    methods: {

    }
})